<?php
namespace Home\Model;
use Think\Model;
// +----------------------------------------------------------------------
// | Date:2016年8月12日
// +----------------------------------------------------------------------
// | Author: EK_熊<1439527494@qq.com>
// +----------------------------------------------------------------------
// | Description: 此文件作用于****
// +----------------------------------------------------------------------
class SlideModel extends Model{
    
    
    function getList($label){
        $list = $this->where(['slide_status'=>1,'cat_idname'=>$label,'slide_status'=>1,'cat_status'=>1])
                     ->join('__SLIDE_CAT__ ON __SLIDE__.slide_cid = __SLIDE_CAT__.cid')
                     ->order('listorder asc')
                     ->field("slide_des,slide_pic,slide_url,slide_name,slide_brand")
                     ->select();
        return $list;
    }
    
}